package com.fenqing.utils;

/**
 * @author fenqing
 */
public class StringToIntEncoder implements Encoder<String, Integer> {

    public StringToIntEncoder() {
    }

    @Override
    public Integer encoder(String input) {
        return Integer.valueOf(input.trim());
    }
}